package com.nx.vip.javacore.anno;

import io.netty.handler.codec.marshalling.DefaultUnmarshallerProvider;

import java.util.Date;

public class AnnoDemo01 {



    @Deprecated
    public  void shownx01(){
        System.out.println("nx nx。。。");
    }


    @MyAnno(showStrArr = {"hello","nx"},showEnum = ColorEnum.BlACk,showAnno=@MyAnno2("valueStr") )
    public  void shownx02(){
        System.out.println("nx nx nx。。。");
    }

}


@SuppressWarnings("all")
class Demo{
    public static void main(String[] args) {
        AnnoDemo01 annoDemo01 = new AnnoDemo01();
        annoDemo01.shownx01();
        Date date = new Date();
        date.getDate();
    }
}

@FunctionalInterface
interface FunctionInterface{
    String show01();
    default void show02(){};
}






